#!/usr/bin/env python
# encoding: utf-8
'''
@author: wangjianrong
@software: pycharm
@file: list_op.py
@time: 2020/10/15 8:54
@desc:
'''

a = list([1,2,3,4])
b = list([3,4,5,6])
print(set(a).difference(b))
print(set(b).difference(a))
print(set(a).union(b))
print(set(a).intersection(b))
print(set(a)^set(b))
print(set(a)|(set(b)))
print(set(a)&(set(b)))